package com.yc.star.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 用户队伍关系
 * </p>
 *
 * @author ljl
 * @since 2024-07-15
 */
@TableName("s_user_team")
public class UserTeam implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * id
     */
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      /**
     * 用户id
     */
      private Long userid;

      /**
     * 队伍id
     */
      private Long teamid;

      /**
     * 加入时间
     */
      private LocalDateTime joinTime;

      /**
     * 创建时间
     */
      private LocalDateTime createTime;

    private LocalDateTime updateTime;

      /**
     * 是否删除
     */
      private Byte isdelete;
    
    public Long getId() {
        return id;
    }

      public void setId(Long id) {
          this.id = id;
      }
    
    public Long getUserid() {
        return userid;
    }

      public void setUserid(Long userid) {
          this.userid = userid;
      }
    
    public Long getTeamid() {
        return teamid;
    }

      public void setTeamid(Long teamid) {
          this.teamid = teamid;
      }
    
    public LocalDateTime getJoinTime() {
        return joinTime;
    }

      public void setJoinTime(LocalDateTime joinTime) {
          this.joinTime = joinTime;
      }
    
    public LocalDateTime getCreateTime() {
        return createTime;
    }

      public void setCreateTime(LocalDateTime createTime) {
          this.createTime = createTime;
      }
    
    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

      public void setUpdateTime(LocalDateTime updateTime) {
          this.updateTime = updateTime;
      }
    
    public Byte getIsdelete() {
        return isdelete;
    }

      public void setIsdelete(Byte isdelete) {
          this.isdelete = isdelete;
      }

    @Override
    public String toString() {
        return "UserTeam{" +
              "id = " + id +
                  ", userid = " + userid +
                  ", teamid = " + teamid +
                  ", joinTime = " + joinTime +
                  ", createTime = " + createTime +
                  ", updateTime = " + updateTime +
                  ", isdelete = " + isdelete +
              "}";
    }
}
